#ifndef __SPEAKER_H
#define __SPEAKER_H

#include "sys.h"


#define P_SDA	PBout(8)

void speaker_init(void);
void SendData( u8 addr );

void say(uint8_t num);

void say_door_waring(void);

void say_door_opened(void);

void say_door_closed(void);


void say_waring_uart(void);
void say_door_opened_uart(void);
void say_door_closed_uart(void);

#endif

